RPC Framework: Moved multi-Instance code into a Module