optimization: moving class Discharger -> namespace Discharger