added costs for class changing, NOTE: units can still change class if factory being used is not completed yet
bad commit message
merged changes, using only mine