Process-Based Design and Integration of Wireless Sensor Network Applications