Replicate configurations

I am planning to use roomie remote to provide home automation for quite a few of my customers. In most cases the devices and programs are completely different so it involves adding the devices and then creating the whole configuration. What is the most convenient way to achieve this by ideally creating the basic program on my own device and copying it over, without having to work on a clients device all the time?

There is another project which we are doing where the exact same number of devices will be used multiple times. So i want to be able to create one configuration and then replicate it repeatedly on many other devices. How would this be most easily achieved?