Commented up ConnectionManager and added logging capabilities to it.

Signed-off-by: SturmB <sturm359@gmail.com>