A comprehensive and scalable middleware for Ambient Assisted Living based on cloud computing and Internet of Things. (8th December 2016)