Started work on a more simplified intermediate AST for code generation.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>