Added 'legacyAccountPowerReduction' field in Account model + minor refactoring