Finished refactoring audio module.

Closes #25