clear table story implementation.  changed modifytables, viewtables, and cleartable