Building the general structure of the app