Revert "Replace TDS with BDL"

This reverts commit 493d34bdc03a805bcadab47ef8ed1af4797bf60b.
Check for errors while inserting rows
Separate SQL escape functionality so it can be overridden by extended classes
Replace TDS with BDL