Added copyRef.
Added task state and bool cols.
Added Query/monad.