- Adding the server functionality