fixed #1: finished first working version of mongodb importer