Fixed XML stuff
things werent' loading
and added xml testing code