Divided items into families, and changed storage to hold them as such.

Instead of one map that holds every item, item storage now holds several
maps, each one a different item "family". This is necessary for the
resource manager.