save cmap in style dict
catch all mongo exceptions to avoid app crash
static pages
docstrings