Added more to the GUI and created a main class for client