added abstract DBConnector class