Added layers to the GUI code