added bulk insert methods and isDirty.  not yet tested.