Added basic view class
Add some example code to test view rendering
Add json output rendering
DRY path checking
Added view registry
Changed example app code a bit to test views