Designing and Programming Organisational Infrastructures for Agents situated in Artifact-based Environments