Amended ConnectionManager, preparing to write connection class.