Custom db and mongod db objects creation through spring initialization.