csv: implement write into csv function
DB: add query brands, models function