Created Interface for Space to follow ISP

Made an interface Space then an abstract class that defines functions
AbstractSpace. All of my space types now extend abstract Space.