recreating init.app in ew uif