Updates dependencies
More work making stuff purely functional
broker_pool is more-or-less complete