Setup the parser.

Sorted all the settings for the parser to run correctly, and setup the
default template.