add scan mode
Merge branch 'master' of github.com:BitSyncom/mm