Organized object editing into one file per unit type
fixed upgrade problem