expose app through context