add app and config