Finished refactoring spell functions into class heirarchy. Still need to make another pass over the new spell classes to clean them up a little bit more.