started GUI and added basic functionality