Sample layout and coding VIII

Basic search and advance search.