Put PhysicsService in context and application. All compilation errors are fixed.