initial commit
add cli option parsling
add exit function
Merge branch 'cli'