adding template for mongodb.