Refactor of the pipeline

Rework the pipeline to make the flow better. It's no longer necessary to write the results from the scraper out to a file. This refactor should make it easier to work on the pipeline in the future.