Made views depedant on controllers which pass in data to the views