separating Coordinate and CoordinateManager classes into separate files