HABITAT: An IoT Solution for Independent Elderly