I think that back in the day, wizards and magicians were intelligent scientist and great thinkers. They were just given a bad name from the 'normal' society. They would create 'spells' that were actuall just a diary or journal for them to keep track of their work..
such as chemical reactions, herbal remedies, etc., etc.,..
Just a theory.

Remote_Access_