Added FileLock class
Added StdErrorTarget in the log system