Convert api lib to stream logging
Cleaned up some comments
Merge pull request #5 from BugFreeSoftware/api_stream

Convert api lib to stream logging