Extract module with the version
Refactor
Refactor to convention.
Merge pull request #22 from pasku/master

Put version in __version__ attribute and add new --version command.