Added unfinished server code.