added basic page layout. converted html pages to php for p4 reuse.