Adding GridView and layout as a main view.