Made some changes to layout and views.
Starting to add models.
Moved common model methods into a common model class file.