Adding the Logger and Datelogger classes