Game code split between game engine and game logic
Added more detailed comments
Added more detailed comments