Implemented views for posts

* Added index.html to serve as a main template to display all posts
* Created class based views to display posts