add apache 2.0 license file
add datetime to logging