Ignoring log file from provider examples
Fixed a few syntax errors and refactoring mistakes