Adding lua support

Basic lua API for MSaveFile