add lua script support, not complete, add some poller code