updated .gitignore to ignore webstorm files
added basic logging code