added logging
added .idea folder to gitignore