Smart Maintenance of Buildings & Infrastructures by Functional Materials and Monitoring