Added configurable max subrequests. Added yum/apt dependency