Events definition. Fixes #6
Worker::stop imlemetation. Fixes #10