Added some helper classes. Added save and load settings.