change api

* return toplevel function instead of object with `listen` function
* do not automatically start, provide `worker.start` function
* move from lib to index