fixed imports of class Main in Worker module