Created Page class, added some functionality