begins moving config to separate module, fixes unicode bug in json configs