more random stuff

Refactored a lot to make it more flexible, added a whole bunch of new
commands.  Open files, easier editing, remove products, total value of
inventory.  Maybe next i'll learn to make a super simple GUI and
executable for it.