refactor zoomer code and intergrate with spectrogram