Added page class and re-edited index