Changed table var to obj and the obj var used in fetching to ret.  Added empty skeleton functions for add and update.