Rewriting the config code of the pages to use the new settings classes
WIP: working on improving the config file handling
Forgot to add two files
More work on integrating the settings parser, profiles are handled correctly