Architecture and Methods for Innovative Heterogeneous Wireless Sensor Network Applications