Change license from GPL to BSD
Update log system structure
Write log system functional tests