Some replacement functions for new spell structures, re-org
Improve spell and book allocation