Implemented Dictionary instead of List<>

Since we look for items by ID, use Dictionaries for fast lookup.