Started to port lexer and parser over, from the versions in Alex's branch. Also created a file that loads all type representation classes.