A Case Study on the Application of UML in Legacy Development