[WIP] Fixing appframework 


.... still working on that ....