Added class DateLogger and implementation, added main test for it