Created casesolver class.