Adding basic server implementation