a bit of refactoring
insert new data by default
default is redis.
Merge pull request #71 from mikedeboer/mongo_adjust

...a bit of refactoring for mongodb