add couchdb worker
remove business logic from file
create new worker file for couchdb
remove dummy files