implemened gui, added cluster selection