set up very trivial server code