prepare class for searching and generating outputs