Smart maintenance and repair management