Jeff - save categories and commodities to db instead of json file