updated readme. added example main.lua