Make queuing work

- Todo refactor to use records instead of the arcane map
Refactor broker to be more idiomatic
Move tools.cli to common
Remove unneeded exception handling
Use messages instead of SNDMORE frames
Ignore emacs, logs, target and temporary