Implementation of server