added a model delete event on the model view which destroys the model and removes the view
first routes initializeed
added the get endpoint for the mongodb