Revamped the config system. Now enables sections and comments.
Also enables some validation checking of the config file