Fix a few Lint warnings
Add logging library