Reworking internal functionality of MySqlConnector