massive commit containing first draft of the workflow and all the associated tests so far.  Is not fully tested yet