add inventory, itementity, resourceitem, changed how entities are stored in collision