Create a method for the motion control mapping classes that will identify and/or return the motion list(s) used for a given device configuration. Something like...
def get_motionlists(config_name):
# indentify used motions lists for config_name and construct a dictionary ml_dict
# with the information
return ml_dict
Note: This is not done during the initial mapping due to the large overhead required to make the identification. Thus, performing this action upon a user request is more suitable.