Moved data from views to controllers (Chapter 4) and created a MongoDB database and mongoose models.