some progress on the map
map finally works

needs everything else and refactoring
code is a mess