added --clear option. Close #51.
upgraded to version 0.1.9