1.add project dependency between Server and Client.
2.add Port.java 
3.add a handler for RMI.