Start of the templating-engine, still trying to wrap my head around the algoritm I'll use to loop over the template-html DOM.

Fixed singletons, now they pass a reference.
Theme works differently now