initial commit
add cli option parsling
add exit function