introduce basic mvc construction for layout