Started refactoring of spells system to use class heirarchy.