Linked up the GUI with the code and made the application work.