refactored the Config-class to use preferences instead of properties
as it's bad/impossible to write (config data) to a jar-archive.
See:
http://docs.oracle.com/javase/7/docs/technotes/guides/preferences/index.html