Splitted the SearchCmd java file up to several classes