Refactor response objects
Created index generator utility