started defining job and worker classes