Vendor model added plus new DB definitions