Most people associate Machiavelli with a devious, twisted mind when he was actually simply a pragmatic. He is labeled as an amoral guy since he admits that violent or cunning methods are sometimes useful.
Also, as an software contractor, his thesis on private forces/ paid forces is quite enlightening.