Added new implementation that uses templates to perform the search queries.
Added first step of the search cli.