update config, remove the script to create logs dir.
add comments for configure
add comments for depends