Refactor config

I wasn't able to get the previous implementation of reading the config file to work. It was returning a bunch of empty strings for all the variables set in the config. So, I refactored it a bit to use Config::Tiny.