Adding code generator
Merge pull request #3 from namshi/code-generator

Adding code generator