RMI setup

This code sets up an rmi server and a client in localhost