added mongolab support
fixed few minor issues