Methodology for Prevention and Repair of Cracks in Building