Implicit environment setup
Make sure client is connected before sending a request
Better matching
Moved setup environment to module
Generic configure subparser