added initial worker
initial worker
First Refactoring.