add documentation, fix usage text