added class CoordinateConverter to convert between screen and board coordinates