Created FlickSearch class and put functionality into it