Moved the inventory system to the game engine