Add test suite based on py.test + integration with Travis and Coveralls
Add .coverage to .gitignore
Reword first paragraph
Cosmethic
Cosmethic: make source code readable from top to bottom
Use argparse to parse command line arguments
Split initialization into multiple functions
Use die() in place of error() + sys.exit()
Use os.path.join