I am creating a an application which should follow the high-level pipeline below (refer to the picture for the in-depth processes):