Overhauling map2dat tool making it more object-oriented, difficult to break; added object output and address helper functions; added spin formatted map output; added support for XML and uncompressed base64 encoding