setup major widgets layout.