Use argparse instead of optparse
Merge pull request #3 from unnonouno/argparse

Use argparse instead of optparse
Add __version__ and show it
Move source to core