first commit, the map parser is under devellopment, but there's a WEIRD segfault in there...