add Space.h and Space.cpp

working on the architecture