initial import of maxwens SMARTMAX governor (unified)