basic server implementation
basic impl