Reorganized side/turn lookups and added some additional tables