starting moving categories out of search
adding spec file for rest/categories(finished), WIP search spec