Updated HTML again. Moved all of the database stuff to a separate file and repo.