Refactors Coord into separate file