check interface and implementation class of pricecalculator