[BUGFIX] Add missing getter and setter for Metric->$payload
[TASK] Delete old build files
[TASK] Adjust paths of phpunit.xml.dist
[TASK] Add test for Metric class