implemented DB#put and DB#get