Added more math stuff, added Game class to game engine