Implemented intermediate class to make creating GUIs easier.