Added basic GUI functionality