Restructures whole project