add attributes, constructor for server and the main method of the interface Function --> need to implement methods in Server.class