Make AudioContext singleton for analyzer + refactoring on service.js