Overhauled config stuff

Runtime compilation still isn't working.