added Inventory, player, and nonplayer file | modified Entity.java