Moved the wowlua functions to a separate module.
Cache the loaded chunks to avoid parsing the file every time.