NEW: Save settings functionality

* Implemented functionality of saving the settings
* Changed XMLDataStorage to a SINGLETON (instances are obtained by calling
method getInstance)