Adding config file support

Don't merge yet, this is here to test the bot.

This includes fixes for #4