Added commit storage to database