set default logger level to info
remove dead code
add more docs