Working towards passing all unit tests. Implemented Warehouse object for indexed data.