Changed way to use the API by providing a static method (this is temporary)
Added some more test cases (for xml shallow parsin) and hard coded implementation (tests are failing)