Added page super class

also changed yaml file for css later