adding VQ to midlevel analyzer
relocating vq machinery
updated codebook learner