Moved views and models into separate files.  Replaced cut and paste code with common classes.
Merge pull request #15 from aleph2012/refactor-views-and-models

Moved views and models into separate files.  Replaced cut and paste code...