Queue interface for API server

Add work queue operations to store interface and lift them throught the WritableToken interface.

Start filling in the details of the "business logic" in the API server.
I'd prefer an undefined, or better yet error "x unimplemented" in this kind of situation.

Reason is that if this gets forgotten, it's a pain to debug. It's how large projects can end up as death marches.