Simplified change points
This MR simplifies all the change point handling. mainly it delegates the writing of data and/or flags to the calling function.
This is also a preparation for making the using functions policy compliant.
@luenensc pls also have a look.