Rewrite XML map parsing

Finished rewrite of XML loading

Removed unused files

Finished Loading XML