break apart controller and views