Untested MySQL. Needs refactoring.
Refactored MySQL class + added a debug level to logger
Merge pull request #1 from PGMSOpenSource/alpha

Alpha to master