Made the config system more modular, loading is now done through the resource manager.