Perhaps you could split Yappari to an engine binary & a UI lib*.so.
& I'm still hoping you'd implement ability to let Yappari accept an IMEI specified into yappari config file of course.. :P Wishful thinking.