Restructure files to make a structured app.