Support shutting down server
Support saving mappings
Update readme for 1.40