Audio Component refactoring and test