commenting and cleaning up in IndexAddService.java