add app and gem foundation