Added functionality to code generate the creation or to get a RMI registry for each CPU