Added indices and little fix

Indices added to entities, where there is lot querying for certain
attributes
Added filemapping's missing name
Batch priority changed

Needn't have done much, but testing is inevitable