Moved to php instead of html files.

Added a number of templates.
Updated a number of pages.