Added basic functionality to GUI