Setup Mongo database
Correct docstring and function name
Insert data to database
Add basic logging