split the app directory into inner and outer app folders