initial commit
correct directory name
cleanup
remove log_to_buf nonsense
add in independent snippets