Bug fix: Kill command does not really kill program

Need to do session.RequestPty() for programs that needs to be explicitly
killed.
Created local configuration files.
Bug fixes and refactoring.

- gracefully handle missing configuration values for `environ`
- following supervisor/worker paradigm.