extract inner class from App.