Follow on to #160

Following #160
Storing package name to index mapping information so that we can figure out the associations on server restart.