Update and rename coord.c to coord.h