add mongo dependency and init file