Saving settings

Settings are serialized using ToString(). 

Resolves #20 and #21.