Add logging
Small fixes
Add command line args

Add command line args

Add command line args

Add command line args

Add command line args

Add command line args

Add command line args