Mongo db added using repository patern generic

Signed-off-by: Carel <dutoit.carel7@gmail.com>