Replication controller

Development branch to support k8s replication controller.

In progress, unstable. Use at your own risk.
added a TODO