Combine with GUI

added readFromString () to GUI