Created TypeCsvRepository

And prevent null in ftl file