Fixed IO bugs related with listing of models
Minor fixes
First sucessfull recognition