created a Blog class, and updated the index page