SAIL: a Sensor Abstraction and Integration Layer for Context Aware Architectures