adding mongodb.template, single mongodb instance