Initial version. Single-process server is barely working.