partial commit of server with STM. Compilation errors exist.