First step to separate engine from native activity logic