Fixing Issue #6

Use the base_dir instead of the hardcoded /data/mongodb
Merge pull request #7 from mgrenonville/master

Fixing Issue #6