Fix the if statement's term and variable name
Simplified main statement and Create function that change group statement and machine statement
Separate the get_info_dict function to the one, get_group_info and get_conf_info.