move functionality to argparse
Merge pull request #2 from b4ldr/master

Move argument checking to argparse