Started working on the code generator

Removed some debug messages
Added main for generator, with flag parsing
Designed structure of the generator