Made it so that all connections use the same getConnection() method to be created. This removes code duplication and prepares the MySQLConnector to use connection pooling later.
Implemented a primitive connection pool