added inserting base data in the mongodb, implement test code to work
with mongo