Refactoring register
Refactoring - change root directory