Added lua library
Added test script