Knowledge-Based Library Re-Factoring for an Open Source Project