implement get,list,clear,flush commands