generate bif from defn; restructure to sep. bbn from survey app
hooked up new BBN query to models