added threading
started parsing so as to pay attention to recipe relationships