some minor fixes andparserFilesInDir should return list<classbj>