Reworked the configuration system, added a config resource loader