fixes #9: migrate from static html pages to php scripted pages.

- Only need to use standard buffer flushing for now. This was primarily done to ease future development.