Completed AST generator implementation
Refactor TwirlGenerator to generate correct types