Make Spells.prototype.names a static var
Factor out spells' code generator into separate class