fixed publisher equity condition in Book
fixed a few small code problems
added bid thrift class
fixed clone exception in ADb