adds first stages of bi-directional REST API for docker instances across the cluster