Adds the connection controller.