Updated composer.json with version and homepage.
Version constant in PhpaxRs class
Code refactoring (quality improved).