Added logger and csvlogger class