Remove custom DB code in favor of SOCI.