adds indexing and eager loading to improve load speed
Merge pull request #78 from Ank13/map_faster

adds indexing and eager loading to improve load speed