File-Setter for the metadata.php

added setter and getter + unittets for fixing issue #4