Deployment setup for scaler

This patch includes some code rearrangement and support for other provisioner APIs.
This is for the testing phase. We can use `docker logs` if we set this option.