Engineering scalable distributed environments and organisations for mas