Refactored and added new page class defs
Added .gitignore
Refactored and added new page class defs