Update View.php

1- Merge the current data with all configuration
2- all the environment datas are pass by the controller now