Moved Page class to pages.py