Integrated message dispatcher into engineApp and modified playerEntity test.