A framework for the distributed management of charging operations