implement server v0.1 without concurrency

q