Added a first lex parser file. Added a function to parse the template.