move rmi code to rmi folder