First full working version of the whole pipeline.
file renaming and reorg