prevent NPE
add list command
move utility method
make DiffCommand callable
add README
add author and license
minore cleanup
fix commit issue