add search method
add basic search in cli