Separate config into sections

Adding structure to the config.