Refactoring variables from the class totalra.php
Updating the document of variables' changes