renamed $r to $base, readme updated

For less ambiguity - clearer class variable name is all
Updated Readme.md