add a stupid-simple debugging console
convert ConnectionManager to a module to clarify intent