An Architecture for Embedded Systems Supporting Assisted Living