Restructure resources