rewrote database config to include more fields, changed transforms to handle new database fields