Added templates and fixed a bunch of shit
Stuff is working