add log.txt, suffix lib for library modules, add useful env attributes
add log.txt