Create MovingObjectFactory.java