base wrapper class, task and config