Switching to a LuaJIT controlled architecture (WIP).

This is not yet fully functional, but it is making progress.