main: add kingpin support

Kingpin is awesome, we should use it.