Hierarchical Inventory Database with NCurses Frontend