refactor use cases diagram and part of class diagram