finished reading and writing fucntions from/to gui widget
added save setting support
project set as library