I create a class that read from json and implements one search state