whole bunch of stuff related to map objects and units

ugh i give up too much stuff