Adding Cli argument parser

@charleso 
Duplications in ivory and view