Creating the master layout