Storing package name to index mapping information so that we can figure out the associations on server restart.
Merge pull request #212 from jmlvanre/pkg-key-on-restart

Follow on to #160