Add modules register functions  for lua-template-runtime on android