Moved all the html stuff to another file for now.  Also wrote a test database script.