added a view.py file, use it as a module.
Merge pull request #3 from paulo-sampaio/master

added a view.py file, use it as a module.