MySql initial test and commit.
Removed the xml writer because it was too rigid and I didn't like it anyway. Added the ability to save to mysql database.