Split worker classes into different file