Added option to control number of workers

Change-Id: I2b8820655060b0f6e40332a70dc5d1fe5dd64947
8 files changed