Added a global application namespace; added a random utility function. Changed the name of the mongoDB database and collection to more meaningful names.