Implement simple code generation command. Closes #32