Added a constructor to the class and updated the PHPSpec specs accordingly
merge