Change points calculation to plugin architecture