move previouse code into singleClass folder
the mixture model code from jianwen