[Service, Controller, Repository, Tests] Refactoring of location management, ValidationTools and tests