Config parser

Instead of storing data in conf.lua, where it's hard to change and parse, move all relevant config options into config.json