added some substance to the space.h classes and further debugging