Simple class for parse XML in PHP