Start of blob api

WIP for #129