Patch to add settings files

This patch adds a SettingsFactory to load and save settings for last used path, port and rate. 
Hope it helps to improve the usability.

Best Christian