Data Management in Pervasive Systems