Fixing appframework for OC6

Due to the introduction of our new public api interfaces more and more functions with the API class
can be decommissioned - which is done in this pull request.

In conjunction parts of the app framework required adoptions to these new APIs

@Raydiation @tanghus @karlitschek @kabum @bartv2 @bantu THX