NewSubmit

Revise AST package and add test files