first revision to controller
Merge pull request #1 from andmcgregor/views

first revision to controller