added a class to help deal with displaying dates and code to display them.