added guard and rspec
updated readme