Added structure for search results, currently unoptimal. Also added random record generation.