Implement basic functionalities of the server