clean unused log and tmp dir
add .gitignore