Small base for CLI scripts; sig handling, logging etc.