Refactor AST layout. All compile tests passing.
Finished full refactor. All tests pass.