add several files, and fixed for rspec examples.