New date class - date are now stored porperly in DB
 Added some comments