Moved Arena-related code outside the WAD and into it's own library