moved config file loading into its own class
* makes it possible to hold configs in configs