Add inserting to db to db accessor