Anfonwch hwn fel neges destun: An optimal construction of smart aged homes based on SDLC using smart sensors and agent networks