rm eventEmitter, use PytakuApp for global state