Moved global databases to the MySQL class