added mongoose support, doesn't work yet though