Added main layout and main page view