Refactor AudioEngine and AudioInterface