copied over db, models, and vendor files from class Lab