cleaned up the views to use laravel functionality to generate settings and so on