Refactor to have ConfigFile class
cjdlua: Add conf saving, multiline comment support, and test script