Started a log viewer

This aids in the lib development as it makes errors visible easily.
Also it brings to light the usability of the api