added delete action to inventory controller. closes #4