Move to helper from clihelper

- Will facilitate Windows support
- Cleaner handling of pidfiles and pidfile removals
- Uses argparse instead of cliparse
- New configuration object