debug device request
add gitignore file
small code cleaning