wip: add snippet.rb
wip: use fakefs
wip: add snippet_spec.rb