require workers/worker before sublcasses so the class is defined