Added smoke sim base code