implemented Categorizer, some changes of parameters from api