Split Off InGameState to its own file

Also fixed code to allow an item to be dropped from inventory