Implemented Grid for GUI