slight refactor of Put. added PutMulti, GetQuery and GetAll.