Cleaned main layout