add app framework.