audio loader refactoring