Added salary document class
Refactored index keys