Refactored audio handling to be more modular, also the project will build again.