A flexible, extensible software framework for model compression based on the LC algorithm