fixes #207

Adds parsing for command-line arguments/flags