Make views work
Merge pull request #10 from rocketu/apis

Make views work