Switch main PHP to use new styles.
Clean up useless files.