Will replace all of the config stuff with libconfig