completing framework for controllers/views