[task] Add codes for insert data to DB, use python script to auto generate cc files