Add ability to run event loop in a thread
Add runtime that starts event loop automatically
Started translating tartjs demo