CB-5837: added downloads factory to use among controllers