adding an index and adding categories to all posts, some housekeeping