Adding deployer and saving scanner outputs for debugging.

Fixes #2 and #4.