added definitions for settings.cfg and *.~
Added rudimentary automatic initialization