code: function() {
     
        var i;
        var obj = {containers: [], wires: []};
     
        for( i = 0 ; i < this.containers.length ; i++) {
           obj.containers.push( this.containers[i].getConfig() );
        }
     
        for( i = 0 ; i < this.wires.length ; i++) {
           var wire = this.wires[i];
        	var wireObj = wire.getConfig();
  			wireObj.src = {moduleId: WireIt.indexOf(wire.terminal1.container, this.containers), terminal: wire.terminal1.name };
  			wireObj.tgt = {moduleId: WireIt.indexOf(wire.terminal2.container, this.containers), terminal: wire.terminal2.name };
           obj.wires.push(wireObj);
        }
     
        return obj;
     }
docs: Return an object that represent the state of the layer including the containers and the wires
  @method getWiring
  @return {Obj} layer configuration