Implemented Server Functionality