Integration of view-data

Integrate the view data resolver into the controller