added proc table, changed items to item, null check in flowcontroller
added proc, removed id arrays
cleaned up proc sql, got it working, msh close