add CIS563 smoke simulation base code