Updating .rvmrc to .ruby-version
Updating README
Refactoring code