the lightsaber itself was designed and improved by both the jedi order and the sith empire started out at first as a decoration for ceremony's as the first lightsabers had a battery pack attached to the belt with a cord running to the hilt.
http://starwars.wikia.com/wiki/Lightsaber
the rest of the history and details of the lightsaber