[WIP] Begin code generation implementation