constructor(handleTags, insertBeforePipeTags) {
        this.handleTags = handleTags;
        this.pipeTags = insertBeforePipeTags;
    }
Handles the parsing and serialization of templates. Also takes care of
merging the base and page templates