The controller implementation is primarily used by influxdb so it shouldn't be part of the flux repository. This copies the code from flux to influxdb so it can be removed from the next flux release.