add dateformatter library, some test functions, unfinished