Fixed all memory leaks, use of shared pointers was unecessary and so they were removed. Moved all game logic to game engine and renderer, main simply creates a gameengine.