clean up code
initial work in getting sphinx autodoc working.

documentation updated for page.py module.