This activity aims at producing the code for organizations and roles. They are the most elementary building blocks of the Janus platform; actually each role and organization becomes a class in the code and they are grouped in specific packages (one for each organization). Starting from the structural and dynamical representation of roles and organizations the programmer can code their implementation using the Janus primitives. It is part of our future works to provide tools for the automatic generation of these portions of code from design diagrams.