Nearly finished encryption for city server.

Currently crashes.