Setup the views and Mongo connections.