mixture model class structure