Transform the views to utilize the generic views Django provides

The templates for the index and the detailed views are updated in order to work with the generic class-based views : ListView and DetailView.