Added a simple code generator