Adding CSettings to manage settings.
Some refactoring.
Moving the recent files and projects list to CSettings.