Add lua support

Add support for lua scripting