create train(), dict_set(), dict_set_item; app classifies