Remove entity array and player from the mediator
Fix entityDef not being initialized for each entity
Fix