clean up
draft of mmt analyzer