A Quantitative Approach to Software Management