Refactored audio context module to not be a singleton