Change engine control unit – simple thing?

As it looks, some of the small but annoying problems on my vehicle are based on a defective motor control unit. Now my questions: 1. Is the cruise control part of the motor control unit? 2. Are the control units always the same for the same engines or are there differences between the manual/automatic transmission, B4 or C4…? 3. Can you just connect a new control unit and start driving… or do you have to adjust/program something? Thank you