change apps structure, add app-name input