Lua scriptable actions up and running

also added an example to main