Started implementing ability to load custom config files

Currently unstable

Feel free to help out with this if you like :)