diagrams: final touches on backend design

still a lot of implementation questions but at least we have an idea
of the overall approach.