Hooked game logic into view and added basic item support