Added class settings
Setting the desired preferences for a new profile is now possible
Added comments
Cleaned up some code