start adding unit tests, rework config compiler
13 files changed