added first (reworked) pass of build_page.py
Merging in changes.