Refactor the structure of projects directory.