add delta_models and read.sql functions