Changed name to inventory and fixed routing