Templating

Made the templating engine super simple.

Although there might be some conflicts in YapHeader.php