add .jshintrc
init code
add logging