Index: applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/EdgeIterator.java
===================================================================
--- applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/EdgeIterator.java	(revision 15106)
+++ applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/EdgeIterator.java	(revision 15106)
@@ -0,0 +1,9 @@
+package com.innovant.josm.jrt.core;
+
+public interface EdgeIterator {
+
+	public boolean hasNext();
+	
+	public RoutingEdge next();
+
+}
Index: applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingEdge.java
===================================================================
--- applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingEdge.java	(revision 15106)
+++ applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingEdge.java	(revision 15106)
@@ -0,0 +1,27 @@
+package com.innovant.josm.jrt.core;
+
+import org.openstreetmap.josm.data.coor.LatLon;
+
+public interface RoutingEdge {
+
+	  public LatLon fromLatLon();
+
+	  public LatLon toLatLon();
+	  
+	  public Object fromV();
+
+	  public Object toV();
+
+	  public double getLength();
+	  
+	  public void setLength(double length);
+	  
+	  public double getSpeed();
+
+	  public void setSpeed(double speed);
+	  
+	  public boolean isOneway();
+	  
+	  public void setOneway(boolean isOneway);
+
+}
Index: applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingGraph.java
===================================================================
--- applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingGraph.java	(revision 15099)
+++ applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingGraph.java	(revision 15106)
@@ -89,5 +89,5 @@
 	 * <code>false</code> Graph not created.
 	 */
-	public boolean graphState;
+//	public boolean graphState;
 
 	/**
@@ -108,7 +108,7 @@
 	 */
 	public RoutingGraph(DataSet data) {
-		this.graphState = false;
+//		this.graphState = false;
 		this.graph = null;
-		this.data = data;
+//		this.data = data;
 		routeType=RouteType.SHORTEST;
 		routingProfile=new RoutingProfile("default");
@@ -147,5 +147,5 @@
 			}
 		}
-		graph.vertexSet().size();
+//		graph.vertexSet().size();
 		logger.debug("End Create Graph");
 		logger.debug("Vertex: "+graph.vertexSet().size());
@@ -167,5 +167,5 @@
 		// weight = getWeight(way);
 		double weight = getWeight(way, length);
-		getWeight(edge, length);
+		setWeight(edge, length);
 		logger.debug("edge for way " + way.id
 				     + "(from node " + from.id + " to node "
@@ -176,5 +176,5 @@
 
 	/**
-	 * Returns the weight for the given segment depending on the highway type
+	 * Set the weight for the given segment depending on the highway type
 	 * and the length of the segment. The higher the value, the less it is used
 	 * in routing.
@@ -184,5 +184,5 @@
 	 * @return
 	 */
-	private void getWeight(OsmEdge osmedge, double length) {
+	private void setWeight(OsmEdge osmedge, double length) {
 		
 		osmedge.setLength(length);
