add mongo support
Merge remote-tracking branch 'origin/master'