Upgrade DataBaseConnector with insert and select methods