Smart space and middleware reworded
Review done: ds2os and portability