move workflow code to a separate file