Adding inventory controller