move and namespace the resource and search classes