refactor: lazy_initializer now receive any kind of function
refactor : shift common poller routine to poller.lua
measure poller performance