Templates messing with

Added templated constructor
Changed Cmake stuff

Forgot the templates compile without including .cpp's. So removed templated class .cpp from the cmake compile stuff.
Messing with GameLoops

Some more code for gameloops and shit. SFML might or might not work.