integrated the coordinate class into the world object