Update the kickstart handling code example

It now has some fixes and improvements.
Fix imports in the kickstart parsing example