Dynamic Structures for Routing and Load-balancing in Wireless Sensor Networks