removed key events. added rmi client code.