how to develop an inventory management system