simple inventory system in node