Added basic xml tree loading
Changed exception handling