* refactor avghelper * #59 backend Co-authored-by: DarK-rtfm <44683230+DarK-rtfm@users.noreply.github.com>