less code
unit test for xml interface
travis config added