Added musicgroupfactory. Allows for saving and loading of music groups.