Software Architectures For Embedded Systems Supporting Assisted Living