Add main file to root.  Remove redundant parseModule and parseScript from Parser.