Restructures the Cadence application to function as a PyGlass-based application.