log
Update code for command line
Edit readme