Created b. Layout grid and render loops