Added functionality to the UI and Agent that will help to intergrate Crank into D-Crank

We probably don't want to specify the transport here