Log class

Added a class to add lines to the log file.