Update and rename showdetails.cpp to search.cpp