Re-enable ^C handling
Handle os.Kill in the same way as os.Interrupt
Move base module script into its own file