basic impl of /add, /list, /:hash