inventory controller