refactor the luabind library

Signed-off-by: yayanyang <yayanyang@gmail.com>