An autonomic computing framework for distributed resources management and devices integration