Make MySql Connector optional

Fixes #6 by rearranging the import/initialization of the DB handlers. I'm not an expert in Python, so if the code seems a bit hacky, forgive me.