AppFramework Rewrite + Public Rest Api + App Framework Design