add BDConnector class