clean up and comments for pageData.py class