public void startServices(){
		
		//Create the services used by the agent.
		if(environment.get("beacon-service-timeout") != null){
			int timeout  = Integer.parseInt(environment.get("beacon-service-timeout"));
			this.beaconService = new BeaconService(this, timeout); 
		}else{
			this.beaconService = new BeaconService(this);
		}
											
		this.geoService    = new GeoService(this);
		this.dataService   = new DataService(this);
		
		dataService.set2HopRouting(!gpsrSimulation);
		
		this.geoService.startService();
		this.beaconService.start();
		this.dataService.startService();
		
	}