proper structure of the app