added views to flask
Merge pull request #1 from voidabhi/view

added views to flask