basic server impl for resources