fix restart
start new code (with c++ class representing accoustic model)