Update gitignore, add logging to all files