Ambient Intelligence Framework for context aware adaptive applications