Move audio api into a module