move launch/config methods into the module