added config option to auto-launch a command
moved loading of config options to it's own class