Cleaned up rps.rb and rps_spec.rb