Updated the structure of the core picflow application