Added a php file to create the viewer.

Created viewer database tables to store settings information.