Added 'main' entrypoint for worker as standalone application