Implement basic search and the list command