added CRUD functions to show example interface with Mongodb