done: save gui fields to snldb struct.
todo:
-load gui field with snldb struct.
-save snldb struct to file in json format(serialization)
-load json format file into snldb struct(serialization)
json is just a sample. it could be xml or text.