eh
Started writing some tests,made template code