Created Main layout