Implement all get and add funtion and test  SpaceDAO
Merge origin/master