More generic WorkloadBase.

Simple refactoring to make the base-class for workloads more generic for creating workloads upon.

Change-Id: I77219a69d8cf3631b8056bb91644d4393194aa6e