trying to debug dependency problems
updated rest api

handles inserts, and get all inventory