Added implementation of location thread and renamed 'RegistrarV2' to 'Registrar'