Rename `server` to `deploy`.

Refactor `config.json` to be ultra generic for deployments.

Added logging at each deployment.
Added logging on error.