converting to simple JSON API, no views
will build a seperate Angular app for view