create app foundation framework