updated license.
added __version__.
added license header.