Added config_dir param to launchfile. Considering namespace and config_dir when changing control mode. Fixes #16