move lua_java method related code into separate file