create and retrieve. Db and http implementation