Add SpaceCoord class hierarchy and update Makefile