Finished the config file validation code