Added basic lexical and syntax analysis