Added grid functionality

Stack panel is fixed and the grid loads properly