add string case change and trim to avoid error

as user might modify the file
refactor convertDateStringToString
refactor ConvertDateToString
fix dataStoreTest
change some methods to private in Converter
change parameter (only pass necessary parameter)
move unused methods
change getTask name