Extract network communication calls to two clean client classes and use
  them in the controllers.