add connection to MongoDB, to be used for querying metric definitions by finder