Restructuring application source.