Building the initial layout of the main activity