Moved MySQLDb package dependency to factory function to people not using DB will not have install MySQL Driver