Reworking shell execution

Adding return, stdout, stderr capture and delivery