Added .gitignore

Added .gitignore
Added Logging.

Added Logging.