Added getConfig and getTime to Spell, changed spells to reflect this
change, removed some comments, cleaned and optimised spell code