Finished XML Loader

Testing still required
Fixed map declaration