Implemented logger with output written to a file. Implemented a output directory setter method in log.cpp