def getCliInstance():
	global _dbcli
	if not _dbcli:
		_dbcli = DatabaseHelper()
	return _dbcli
def bufferedMode(self, mode = True):
        if mode is None:
            self.flush()
        self._bufferedMode = mode