Updated RMIServer to include dispatching