added image upload capabilities, refactored spell effects to be much more dynamic