Added a simple date class that will permit refactoring of UI code