Greatly expanded on configuration.
Simplifying. TODO: Change output to string, then write string to file.
Removed most command line options. Fleshing out context. TODO: Make it usable from luac