Added a worker that can be started as a thread. Idea is to use it for testing purposes