move path to class