Moved Audio constructor function out of audio controller
This is to avoid having the audio controller too much coupled with the Audio constructor