Mongo db class: add hw4