routes = XMLReader.read();
hubLayer1 = db.index().forNodes( "hubLayer1" );
hubLayer2 = db.index().forNodes( "hubLayer2" );
hubTransferLayer1 = db.index().forNodes( "hubTransferLayer1" );
hubTransferLayer2 = db.index().forNodes( "hubTransferLayer2" );
hubTransferLayer2SpatialIndex = new LayerNodeIndex( "hubTransferLayerSpatialIndex", db, new HashMap<String, String>() );
stopLayer = db.index().forNodes( "stopLayer" );
stopSpatialIndex = new LayerNodeIndex( "stopSpatialIndex", db, new HashMap<String, String>() );
addStops();
addHubs();
addWalkingConnections();