pass options through cli
handle old parameters
convert legacy arguments to array
Merge pull request #9 from smhg/options

Moved constants to cli options