change bin scripts to accept both cfg and hmm.  also change pickle interface to make this easier.  note that cfg still missing implementations of key methods