fixes #207

Adds command-line argument/flag parsing