adding method for getting default config for supervisor
tweaking ModuleConfig struct and enabling direct running of command
fixing tests