Created inventory controller