created a car class
part 1, connection to database