implemented map file reading

still buggy, temp fix at ObjectManager line 27