Mapsharing

Implemented map sharing functionality for servers. It can be activated by using the "--shared" cli options. The changes do not affect the "normal mode".