Added module to generate code from the sample catalogue.