The Master comes from taking a Time Lord like the Doctor and making him into a villain. The Monk comes from taking a comedic historical villain from the Spooner tradition – a tradition that no longer even existed when Terror of the Autons aired – and making him like the Doctor.