WIP: scaffolding backend behavior. TODO: outline example workflow, to put the pieces together