started to work on code generator.
added tests to travis