Creating the Main Activity