Revert ""Server code""

This reverts commit 75c81e4b31c7bc6fea7bc534fb91cb0a0e3dbf8d.