Moving helper functions into their own module
Better naming for helper functions
Getting helper functions from their new location
Fixing mute function name

This is no longer a local private function
Merge branch 'refactor'