Projectkk2glider/lua development

@bsongis ready for merge