Application Specific Organization Of Sensor Networks