Added class to handle coordinates.