Adding the main layout