Update controller and application to use the `ConnectionManager`.