Command line arguments

fixes #1