refactor the structure of projects