Building the pipeline and the data store