add .idea/ folder to gitigore
add annotations for threading