Save machine data in the map folder that belongs to that map
Started adding some lua map api