change all class file architecture