Merge pull request #11 from hsyed/self-host-worker

port the worker files to kotlin and add bootstrap macros.