Finished tests and logging, few TODO's left and styling
Added examples