Refactoring: Move createConnector to Connector::create