refactor script methods into module. And provide new dedicated entry point for config yamls