Initial commit ported from search-crawler