Implement Space class