Add class Worker to simplify design