added minimizer class
added minimizer class