setup entity and player classes