Added mongoose to execute examples on localhost.