Design GUI and Dataset code