Introduce BaseConfig, derive compute.WorkerConfig from it and add tests