implemented gui, added cluster selection