Create Server.java

adding server implementation