Initial attempt of making a game engine