Improved the readme and added rspec test