Some more work on code generator and playing around with generating header files.