haven, resource-repository and mongodb modules