Migrate logic from LabellingManager to LabellingFlow and cleanup LabellingFlow component Closes: #1267