Logging added
gitignore fixed