Refactor: extract the hang-out kernel in separate module to be able to reuse it for a potential JS-written mobile app