Prepared main layout