library/baseapp: move more functionality to GenericBaseApp