Updated with new stuff.
Huge refactor.

Added config file to store mysql passwords and gitignore to not upload it.  Added php scripts to generate the images from the mysql database and exported the mysql database tuples to an insert script for backup purposes.